package com.tbgov.entity.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author 1st
 */
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@Schema(description = "已登录信息")
public class Token {

    @Schema(description = "已授权token")
    private String token;
    @Schema(description = "手机号码")
    private String mobilePhone;
    @Schema(description = "用户主键ID")
    private Long id;
    @Schema(description = "用户名称")
    private String name;
    @Schema(description = "部门名称")
    private String department;
    @Schema(description = "职务名称")
    private String job;
    @Schema(description = "权限 0:普通访问 1:后台管理 多个逗号拼接")
    private String power;
}
